<%@ Reference Page="~/group.aspx" %>
<%@ Page language="vb" Inherits="_2bMatesSite.edit_group_basic" ValidateRequest="false" CodeFile="edit_group_basic.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<form id="Form1" method="post" runat="server">
<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0" height="100%">
	<tr>
		<td>
			<table cellspacing="0" cellpadding="0" width="100%" border="0" class="page_title">
				<tr>
					<td><asp:literal id="litTitle" runat="server">Edit Your Group</asp:literal></td>
					<td align="right"><asp:literal id="litRightLinks" runat="server"></asp:literal></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td class="main_table_border">
			<div class="content_trl">
				<table Width="740" CellPadding="0" CellSpacing="0" class="main_text" border="0">
					<tr>
						<td>
							<b><asp:label id="lblBasicGroup" runat="server">Basic Group Info</asp:label></b>
						</td>
						<td>
							<asp:hyperlink id="hlEvents" runat="server" cssclass="main_text_bold">Events &amp; Shows</asp:hyperlink>
						</td>
						<td>
							<asp:hyperlink id="hlBands" runat="server"  cssclass="main_text_bold">Bands</asp:hyperlink>
						</td>
						<td align=right>
							<asp:hyperlink id="hlCancelGroup" runat="server" cssclass="main_text_bold" navigateurl="../#">Cancel Group</asp:hyperlink>
						</td>					
					</tr>
				</table>
			</div>
		</td>
	</tr>
	<tr>
		<td class="small" height="4">&nbsp;</td>
	</tr>
	<!-- begin form -->
	<tr>
		<td vAlign="top" class="main_table_border" height="100%">
			<div class="content">
				<table cellSpacing="0" cellPadding="0" width="100%" border="0" class="main_text_form">
					<tr>
						<td id="error" valign="top" align="left" colspan="2"><asp:validationsummary id="ValidationSummary1" runat="server" forecolor="#F04C03" cssclass="val_summary" displaymode="List" width="384px" height="28px"></asp:validationsummary></td>
					</tr>
					<tr>
						<td colSpan="2"><asp:label id="lblChangesSubmitted" runat="server" CssClass="val_summary" Visible="False">Group profile has been successfully updated.</asp:label></td>
					</tr>
					<tr>
						<td colspan="2" height="27"><b><font size="+1"><asp:label id="lblBasicInfo" runat="server">Basic Info:</asp:label></font></b></td>
					</tr>
					<tr>
						<td align="left" colSpan="2" height="27"><font class="notes_text">*</font>
							<asp:label id="lblRequiredFields" runat="server">indicates required fields</asp:label>
						</td>
					</tr>
					<tr>
						<td width="37%"><asp:label id="lblGroupName" runat="server" Font-Bold="True"> Group Name</asp:label><font class="notes_text">*</font><br></td>
						<td><asp:textbox id="txtGroupName" runat="server" CssClass="mail_field" Width="204px" MaxLength="50"
								ToolTip="Group Name" EnableViewState="False"></asp:textbox><asp:requiredfieldvalidator id="rvGroupName" runat="server" Display="None" ErrorMessage="Please enter group name"
								ControlToValidate="txtGroupName"></asp:requiredfieldvalidator>
							<asp:CustomValidator id="cvGroupExist" runat="server" ErrorMessage="There is already a group with the same name in this category."
								Display="None"></asp:CustomValidator><asp:customvalidator id="cvHtmlInGroupName" runat="server" controltovalidate="txtGroupName" errormessage="HTML is not allowed in Group Name field"
						display="None"></asp:customvalidator></td>
					</tr>
					<tr>
						<td><asp:label id="lblGroupCategory" runat="server" Font-Bold="True">Group Category</asp:label><font class="notes_text">*</font></td>
						<td><asp:dropdownlist id=ddlCategories runat="server" CssClass="scrollbar" Width="204px" DataSource="<%# Page %>"></asp:dropdownlist></td>
					</tr>
					<tr>
						<td><asp:label id="lblPublicGroup" runat="server" Font-Bold="True">Public Group</asp:label><font class="notes_text">*</font><br></td>
						<td align="left"><asp:radiobutton id="rbPublic" runat="server" value="1" GroupName="grpPublic"></asp:radiobutton><font class="radio_text">Yes</font><asp:radiobutton id="rbPrivate" runat="server" value="0" GroupName="grpPublic" TextAlign="Left"></asp:radiobutton><font class="radio_text">&nbsp;No&nbsp;&nbsp;&nbsp;<asp:HyperLink id="hlHelpPublic" runat="server"  cssclass="main_text_bold">Help</asp:HyperLink></font></td>
					</tr>
					<tr>
						<td><asp:label id="lblApproveMemComm" runat="server" Font-Bold="True">Approve Members Comments</asp:label><font class="notes_text">*</font><br></td>
						<td align="left"><asp:radiobutton id="rbApproveMemComm" runat="server" value="1" GroupName="grpMemComm"></asp:radiobutton><font class="radio_text">Yes</font><asp:radiobutton id="rbNotApproveMemComm" runat="server" value="0" GroupName="grpMemComm" TextAlign="Left"></asp:radiobutton><font class="radio_text">&nbsp;No&nbsp;&nbsp;&nbsp;<asp:HyperLink id="hlHelpAppMemComm" runat="server"  cssclass="main_text_bold">Help</asp:HyperLink></font></td>
					</tr>
					<tr>
						<td><asp:label id="lblApproveMemBlogComm" runat="server" Font-Bold="True">Approve Members Blog Comments</asp:label><font class="notes_text">*</font><br></td>
						<td align="left"><asp:radiobutton id="rbApproveMemBlogComm" runat="server" value="1" GroupName="grpMemBlogComm"></asp:radiobutton><font class="radio_text">Yes</font><asp:radiobutton id="rbNotApproveMemBlogComm" runat="server" value="0" GroupName="grpMemBlogComm" TextAlign="Left"></asp:radiobutton><font class="radio_text">&nbsp;No&nbsp;&nbsp;&nbsp;<asp:HyperLink id="hlHelpAppMemBlogComm" runat="server"  cssclass="main_text_bold">Help</asp:HyperLink></font></td>
					</tr>
					<tr>
						<td><asp:label id="lblCountry" runat="server" Font-Bold="True">Country</asp:label><font class="notes_text">*</font></td>
						<td><asp:dropdownlist id=ddlCountry runat="server" CssClass="scrollbar" Width="204px" DataSource="<%# Page %>"></asp:dropdownlist></td>
					</tr>
					<tr>
						<td><asp:label id="lblCity" runat="server" Font-Bold="True">City/Town</asp:label><font class="notes_text">*</font></td>
						<td><asp:textbox id="txtCity" runat="server" CssClass="mail_field" Width="204px" MaxLength="50" Rows="1"></asp:textbox><asp:requiredfieldvalidator id="rvCityTown" runat="server" Display="None" ErrorMessage="Please enter city/town"
								ControlToValidate="txtCity"></asp:requiredfieldvalidator><asp:customvalidator id="cvHtmlInCity" runat="server" controltovalidate="txtCity" errormessage="HTML is not allowed in City/Town field"
						display="None"></asp:customvalidator></td>
					</tr>
					<tr>
						<td><asp:label id="lblZip" runat="server" Font-Bold="True">Zip/Postal Code</asp:label></td>
						<td><asp:textbox id="txtZip" runat="server" CssClass="mail_field" Width="204px" MaxLength="10" Rows="1"></asp:textbox><!--&nbsp;&nbsp;(Needed 
								only for US and Canada)--><asp:customvalidator id="cvZip" runat="server" Display="None" ErrorMessage="Please enter Zip/Postal  Code"
								ControlToValidate="ddlCountry"></asp:customvalidator><asp:customvalidator id="cvHtmlInZip" runat="server" controltovalidate="txtZip" errormessage="HTML is not allowed in Zip/Postal Code field"
						display="None"></asp:customvalidator></td>
					</tr>
					<tr>
						<td><asp:label id="lblShortAboutGroup" runat="server" Font-Bold="True">Short Group Description (No HTML)</asp:label><font class="notes_text">*</font></td>
						<td><asp:textbox id="txtShortAboutGroup" runat="server" CssClass="scrollbar" Width="422px" MaxLength="3"
								Rows="4" TextMode="MultiLine"></asp:textbox><asp:RequiredFieldValidator id="rvTxtShortAboutGroup" runat="server" Display="None" ErrorMessage="Please fill in Short Group Description field"
								ControlToValidate="txtShortAboutGroup"></asp:RequiredFieldValidator><asp:customvalidator id="cvHtmlInShortDesc" runat="server" controltovalidate="txtShortAboutGroup" errormessage="HTML is not allowed in Short Group Description field"
						display="None"></asp:customvalidator>
						</td>
					</tr>
					<tr>
						<td><asp:label id="lblAboutGroup" runat="server" Font-Bold="True"> About Group</asp:label><font class="notes_text">*</font></td>
						<td><asp:textbox id="txtAboutGroup" runat="server" CssClass="scrollbar" Width="422px" MaxLength="3"
								Rows="5" TextMode="MultiLine"></asp:textbox><asp:RequiredFieldValidator id="rvTxtAboutGroup" runat="server" Display="None" ErrorMessage="Please fill in About Group field"
								ControlToValidate="txtAboutGroup"></asp:RequiredFieldValidator></td>
					</tr>
					<tr>
						<td colSpan="2" height="20"><img src="images/spacer.gif" width="100%" height="1" class="spacer_color"></td>
					</tr>
					<tr>
						<td colspan="2"><b><font size="+1"><asp:Label id="lblGroupInterests" runat="server">Group Interests:</asp:Label></font></b></td>
					</tr>
					<tr>
						<td><asp:label id="lblGroupActivities" runat="server" Font-Bold="True"> Group Activities</asp:label><br></td>
						<td><asp:textbox id="txtGroupActivities" runat="server" CssClass="scrollbar" Width="422px" MaxLength="50"
								ToolTip="Group Activities" EnableViewState="False" Rows="5" TextMode="MultiLine"></asp:textbox></td>
					</tr>
					<tr>
						<td><asp:label id="lblGroupContacts" runat="server" Font-Bold="True"> Group Contacts</asp:label><br></td>
						<td><asp:textbox id="txtGroupContacts" runat="server" CssClass="scrollbar" Width="422px" MaxLength="50"
								ToolTip="Group Contacts" EnableViewState="False" Rows="5" TextMode="MultiLine"></asp:textbox></td>
					</tr>
					<tr>
						<td><asp:label id="lblCharity" runat="server" Font-Bold="True"> Charity/Community Work</asp:label><br></td>
						<td><asp:textbox id="txtCharity" runat="server" CssClass="scrollbar" Width="422px" MaxLength="50"
								ToolTip="Charity/Community Work" EnableViewState="False" Rows="5" TextMode="MultiLine"></asp:textbox></td>
					</tr>
					<tr>
						<td><a name="image"></a><asp:label id="lblFavImage" runat="server" Font-Bold="True"> Image</asp:label></td>
						<td><asp:textbox id="txtFavImage" runat="server" CssClass="mail_field" MaxLength="250" Width="207px"
								Rows="1">http://</asp:textbox>&nbsp;&nbsp;&nbsp;<asp:textbox id="txtFavImageName" runat="server" CssClass="mail_field" Width="206px" MaxLength="50"
								Rows="1">Enter Image name here</asp:textbox>&nbsp;<asp:hyperlink id="hlHelpImage" runat=server navigateurl="../#image"  cssclass="main_text_bold">Help</asp:hyperlink></td>
					</tr>
					<tr>
						<td colSpan="2" height="20"><img src="images/spacer.gif" width="100%" height="1" class="spacer_color"></td>
					</tr>
					<tr>
						<td align="right" colSpan="2"><br /><asp:button id="btnUpdate" runat="server" CssClass="btn" Width="100px" Text="Update Group" onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnUpdate_Click"></asp:button></td>
					</tr>
				</table>
			</div>
		</td>
	</tr>
	<!-- end form -->
	
</table>
</form>